package com.orhon.smartcampus.modules.base.entity;

import javax.persistence.*;
import java.util.Objects;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
@Setter
@Getter
@EqualsAndHashCode
@Entity
@Table(name = "base_subject_period_relation", schema = "smartcloud", catalog = "")
public class SubjectPeriodRelation {
    @Id
    @Column(name = "id", nullable = false)
    private Long id;
    @Column(name = "subject_id", nullable = false)
    private Long subjectId;
    @Column(name = "period_id", nullable = false)
    private Long periodId;
}
